[IA64] preparation for vga acceleration of VTI domain
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 31 May 2006 17:27:50 +0000 (11:27 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 31 May 2006 17:27:50 +0000 (11:27 -0600)
commit1d986b33ac5220cfaa2a02a9d3975a46e42289cd
tree3745cf3aaf2b9c6c368918414ea052e581969667
parent430962ac743a60097fe7214ca0729b850c351f96
[IA64] preparation for vga acceleration of VTI domain

This patch fixes several minor issues, as a prepare step to support VGA
acceleration for VTI domain:

- shared vram buffer needs to be mapped as WB in both sides, because
the shared vram is the true WB memory though VTI domain is told as UC
- Introduced a new pte_mem to indicate p2m entry containing valid mfn
when replace p2m entry. Pte_none doesn't work for VTI case, since IO
type is encoded into p2m entry which however doesn't contain valid mfn.

After above change, guest_physmap_add/remove_page is available to
be used by qemu to setup linear buffer for VTI domain.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
xen/arch/ia64/vmx/vmmu.c
xen/arch/ia64/xen/domain.c
xen/include/asm-ia64/linux-xen/asm/pgtable.h
xen/include/asm-ia64/shadow.h